import React from "react";
import { Route } from "react-router-dom";

import Home from "./pages/home/Index.jsx";
// import VIP from "./pages/VIP/Index.jsx";
import Healthy from "./pages/healthy/Index.jsx";
import Mine from "./pages/mine/Index.jsx";
import Footer from "./components/footer/Index.jsx";
import Country from "./pages/country/Index.jsx";
import Login from "./pages/login/index";
// import Map from "./pages/map/index.jsx"
import Map from "./pages/map/index.jsx";
import Navr from "./components/Navr/index.jsx";
import Ddetail from "./pages/doctordetail/index.jsx";
import HospitalList from "./pages/hospitalList/index.jsx";
function App() {
  return (
    <div>
      <Navr />
      <Footer />
      <Route path="/" exact component={Home} />
      {/* <Route path="/VIP" component={VIP} /> */}
      <Route path="/healthy" component={Healthy} />
      <Route path="/mine" component={Mine} />
      <Route path="/country" component={Country} />
      <Route path="/login" component={Login} />
      <Route path="/map" component={Map} />
      <Route path="/ddetail" component={Ddetail} />
      <Route path="/hospitalList" component={HospitalList} />
    </div>
  );
}

export default App;
